-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for opening counsel-git-grep in other window #3044
base: master
Are you sure you want to change the base?
Add support for opening counsel-git-grep in other window #3044
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Works nicely.
See some minor style/logic suggestions below.
New regex:"\\`\\(.*\\):\\([[:digit:]]+\\):\\(.*\\)\\'" Old regex: "\\`\\(.*?\\):\\([0-9]+\\):\\(.*\\)\\'"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, we're almost there! The only real issue is the use of rx-define
, which is not sufficiently backward compatible (one day we'll bump Counsel's minimum Emacs version, but not today :).
* counsel.el (counsel-git-grep-function): Simplify. (counsel--git-grep-file-and-line-number): Rename... (counsel--git-grep-file-and-line): ...to this, splitting long lines. (counsel--git-grep-go-to-location): Rename... (counsel--git-grep-visit): ...to this, incorporating more DRY. (counsel-git-grep-action, counsel-git-grep-action-other-window): Adapt accordingly (abo-abo#3044).
Heyhey, my copyright assignment just got in. What do next steps look like? Do you need a copy of the document? |
Excellent! 🎉
I'll merge this as soon as I get a chance over the coming days :).
No need, I was already CCed in the email from the copyright clerk. |
Adds functionality described in related issue